package com.ruoyi.education.domain;

import org.apache.ibatis.type.Alias;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

@Alias("EducationEnrollment")
public class Enrollment extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private Long enrollmentId;
    private Long activityId;
    private Long studentId;
    private String status;
    private Date signupTime;
    private Date checkinTime;
    private Double creditAwarded;
    private String feedback;
    private Date feedbackTime;

    public Long getEnrollmentId() {
        return enrollmentId;
    }

    public void setEnrollmentId(Long enrollmentId) {
        this.enrollmentId = enrollmentId;
    }

    public Long getActivityId() {
        return activityId;
    }

    public void setActivityId(Long activityId) {
        this.activityId = activityId;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getSignupTime() {
        return signupTime;
    }

    public void setSignupTime(Date signupTime) {
        this.signupTime = signupTime;
    }

    public Date getCheckinTime() {
        return checkinTime;
    }

    public void setCheckinTime(Date checkinTime) {
        this.checkinTime = checkinTime;
    }

    public Double getCreditAwarded() {
        return creditAwarded;
    }

    public void setCreditAwarded(Double creditAwarded) {
        this.creditAwarded = creditAwarded;
    }

    public String getFeedback() {
        return feedback;
    }

    public void setFeedback(String feedback) {
        this.feedback = feedback;
    }

    public Date getFeedbackTime() {
        return feedbackTime;
    }

    public void setFeedbackTime(Date feedbackTime) {
        this.feedbackTime = feedbackTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("enrollmentId", getEnrollmentId())
                .append("activityId", getActivityId())
                .append("studentId", getStudentId())
                .append("status", getStatus())
                .append("signupTime", getSignupTime())
                .append("checkinTime", getCheckinTime())
                .append("creditAwarded", getCreditAwarded())
                .append("feedback", getFeedback())
                .append("feedbackTime", getFeedbackTime())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
} 